Skip to content

vcsm-cma fixes for lockdep warnings#6929

Merged
pelwell merged 2 commits intoraspberrypi:rpi-6.12.yfrom
6by9:rpi-6.12.y-vcsm-cma
Jun 30, 2025
Merged

vcsm-cma fixes for lockdep warnings#6929
pelwell merged 2 commits intoraspberrypi:rpi-6.12.yfrom
6by9:rpi-6.12.y-vcsm-cma

Conversation

@6by9
Copy link
Copy Markdown
Contributor

@6by9 6by9 commented Jun 30, 2025

Raised as #6814 and #6815. The analysis appears correct, hence update the driver.

6by9 added 2 commits June 30, 2025 18:14
lockdep throws warnings when using libcamera as buffers are
mapped and unmapped as the dmabuf->resv lock hasn't been taken.

Switch to using the _unlocked variants so that the framework takes
the lock.

raspberrypi#6814

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
There are no contexts where we should be calling the kernelid_map
IDR functions where we can't sleep, so switch from using a spinlock
to using a mutex.

raspberrypi#6815

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@pelwell pelwell merged commit ef8e31b into raspberrypi:rpi-6.12.y Jun 30, 2025
12 checks passed
@pobrn
Copy link
Copy Markdown
Contributor

pobrn commented Jul 1, 2025

Thanks!

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jul 7, 2025
kernel: vcsm-cma fixes for lockdep warnings
See: raspberrypi/linux#6929

kernel: dtoverlay: Add autorepeat option to gpio-key overlay
See: raspberrypi/linux#6933

kernel: drivers: media: cfe: Workaround for 16-bit mismatch in the hardware
See: raspberrypi/linux#6935

kernel: configs: Enable more packet classification options
See: raspberrypi/linux#6938

kernel: overlays: ili9881-7inch: Fix overlay name in preamble
See: raspberrypi/linux#6940

kernel: iommu: bcm2712-iommu: Add locking; fix address offset; tidy
See: raspberrypi/linux#6939
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jul 7, 2025
kernel: vcsm-cma fixes for lockdep warnings
See: raspberrypi/linux#6929

kernel: dtoverlay: Add autorepeat option to gpio-key overlay
See: raspberrypi/linux#6933

kernel: drivers: media: cfe: Workaround for 16-bit mismatch in the hardware
See: raspberrypi/linux#6935

kernel: configs: Enable more packet classification options
See: raspberrypi/linux#6938

kernel: overlays: ili9881-7inch: Fix overlay name in preamble
See: raspberrypi/linux#6940

kernel: iommu: bcm2712-iommu: Add locking; fix address offset; tidy
See: raspberrypi/linux#6939
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants